﻿
using CSharpLibs.Annotations;

namespace System
{
	[Builtin]
	public abstract class Enum : ValueType, IComparable
	{
		[BuiltinMethod, BuiltinSemantics("enum_compareto")]
		public int CompareTo(object other)
		{ return -1; }

		public override bool Equals(object other)
		{ return this == (Enum)other; }

		public override int GetHashCode()
		{ return base.GetHashCode(); }
	}
}
